all:dict_client dict_server
dict_client:dict_client.cc
	g++ -std=c++11 $^ -o $@ -I./include -lpthread -L./lib -lmuduo_base -lmuduo_net
dict_server:dict_server.cc
	g++ -std=c++11 $^ -o $@ -I./include -lpthread -L./lib -lmuduo_net -lmuduo_base
.PHONY:clean
clean:
	rm -rf dict_client dict_server